<?php


namespace app\admin\Validate\category;


use app\common\BaseValidate;

class AddCategoryValidate extends BaseValidate
{
    protected $rule = [
        "category_name" => "require|length:1,40",
        "category_route" => "require|length:1,40",
        "px" => "integer",
        "status" => "integer",
    ];
}